package com.amit.ioc;

public class Hello {
	
	private A aobj;
	private B bobj;
	
	
	public void setAobj(A aobj) {
		this.aobj = aobj;
	}

	public Hello(B bobj) {
		super();
		this.bobj = bobj;
	}
	
	public void Show()
	{
		aobj.showA();
		bobj.ShowB();
		
	}
	
}
